package com.hzsai.mininotecaller.common;

/**
 * @author hzsai
 * @date 2020/1/9 21:38
 * @usage:
 */
public class CommonResult implements IErrorCode {

    private long code;

    private String message;

    private Object data;

    public CommonResult(long code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public long getCode() {
        return 0;
    }

    @Override
    public String getMessage() {
        return null;
    }
}
